package cn.tk.model.pojo.mr.flow;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by denglw on 2021/7/19.<br/>
 * Desc: 话术节点行为对象
 */
@Data @NoArgsConstructor
public class ReplyNodeAction {

    /**
     * 话术节点id
     */
    private Long nodeId;

    /**
     * 执行类型：1-无，2-节点跳转，3通话结束
     */
    private Integer actionType;

    /**
     * 当type=2时，目标流程id
     */
    private Long jumpFlowId;

    /**
     * 当type=2时，目标节点id
     */
    private Long jumpNodeId;

    public ReplyNodeAction(Long nodeId, Integer actionType, Long jumpFlowId, Long jumpNodeId) {
        this.nodeId = nodeId;
        this.actionType = actionType;
        this.jumpFlowId = jumpFlowId;
        this.jumpNodeId = jumpNodeId;
    }
}
